/***********************************************************************************************************************************
 *    Name: Enable_Remote_Errors.sql
 *  Author: Frank Figearo — http://www.sqlnerd.me/ — frank@sqlnerd.me
 * Summary: 
**/
IF DB_ID(N'ReportServer') IS NOT NULL
    UPDATE  ReportServer.dbo.ConfigurationInfo
    SET     Value = N'True'
    WHERE   Name = N'EnableRemoteErrors';
GO